import {PageModel} from "/@/api/system/model/CommonModel";
import {TemplateModel} from "/@/api/generator/model/TemplateModel";
import axios from "/@/utils/http/axios";
import {MethodEnum} from "/@/utils/http/axios/enum/method-enum";

/**
 * 根据模板id查询模板
 * @param isHint
 * @param callBack
 */
export function listTableName(schemaName: string,callBack?: Function):Promise<string[]> {
    return axios.httpRequest("/generator/tool/database/listTableName", MethodEnum.GET, {schemaName}, {callBack});
}